using System;
using System.Collections.Generic;
using ns26;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("iTweenCollection")]
	public class iTweenCollection : MonoClass
	{
		public int LastIndex => method_2<int>("LastIndex");

		public int Count => method_2<int>("Count");

		public List<iTween> Tweens => method_3<Class251<iTween>>("Tweens")?.method_25();

		public int DeletedCount => method_2<int>("DeletedCount");

		public iTweenCollection(IntPtr address, string className)
			: base(address, className)
		{
		}

		public iTweenCollection(IntPtr address)
			: this(address, "iTweenCollection")
		{
		}

		public void Add(iTween tween)
		{
			method_8("Add", tween);
		}

		public void Remove(iTween tween)
		{
			method_8("Remove", tween);
		}

		public iTweenIterator GetIterator()
		{
			return method_11<iTweenIterator>("GetIterator", Array.Empty<object>());
		}

		public void CleanUp()
		{
			method_8("CleanUp");
		}
	}
}
